import Cesium from '../Ces/Cesium'
import { WeContext } from '../WeatherEarth'

class WeDataParserBase {
  weContext: WeContext
  constructor() {

  }

  requestImage(url: string, getUrlCallback: any) {
    if (getUrlCallback) url = getUrlCallback(url) + ''
    return Cesium.Resource.fetchImage(url)
  }

  requestCustom1() {
    return Promise.resolve(null)
  }

  requestCustom2() {
    return Promise.resolve(null)
  }
}

export default WeDataParserBase
